# Contributor: Patrick Gaskin <patrick@pgaskin.net>
# Maintainer: Patrick Gaskin <patrick@pgaskin.net>
pkgname=scream
pkgver=3.8
pkgrel=1
pkgdesc="client for scream virtual network sound card for Microsoft Windows"
url="https://github.com/duncanthrax/scream"
arch="all"
license="MS-PL"
options="!check" # no test suite provided
makedepends="alsa-lib-dev pulseaudio-dev cmake"
source="$pkgname-$pkgver.tar.gz::https://github.com/duncanthrax/scream/archive/$pkgver.tar.gz"
builddir=$srcdir/$pkgname-$pkgver/Receivers/unix

build() {
	mkdir build && cd build
	cmake ..
	make
}

package() {
	install -Dm755 "$builddir"/build/scream "$pkgdir"/usr/bin/scream
}

sha512sums="
0ec3e68177a5852528b8dc0eed35088c7b399a59762063c5f08e06581340884123d37aebcedc0534acfb0ab0702c2d6dfc033cfcbf6d7e80faf8963ab0827983  scream-3.8.tar.gz
"
